<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><style type="text/css">
body {font-family:"微软雅黑", "宋体", Arial, Helvetica, sans-serif; font-size:12px; color:#444; text-align:right;}
a { color:#555; text-decoration:none; background:#d7d7d7; padding:0 15px; line-height:24px; height:24px; margin:0 0 0 1px; display:block; float:right;}
a:hover {color:#fff; text-decoration:none; background:#dc4637;}
span { line-height:24px; margin-right:15px;}
a, a > * {
     -webkit-transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease, opacity 0.3s ease-in-out;
     -moz-transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease, opacity 0.3s ease-in-out;
     -ms-transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease, opacity 0.3s ease-in-out;
     -o-transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease, opacity 0.3s ease-in-out;
     transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease, opacity 0.3s ease-in-out;
}
</style>
<body style="background-color:transparent">
<div style="height:40px; margin:0 -7px 0 0;">
<span><?php if($_username) { ?><?php echo L('hellow');?>, <?php echo $_username;?> </span><a href="<?php echo APP_PATH;?>index.php?m=member&c=index&a=logout&forward=<?php echo urlencode($_GET['forward']);?>&siteid=<?php echo $siteid;?>" target="_top"><?php echo L('logout');?></a><a href="<?php echo APP_PATH;?>index.php?m=member&c=content&a=publish" target="_blank">上传作品</a> <?php } else { ?> <a href="<?php echo APP_PATH;?>index.php?m=member&c=index&a=login&forward=<?php echo urlencode($_GET['forward']);?>&siteid=<?php echo $siteid;?>" target="_top"><?php echo L('login');?></a><a href="<?php echo APP_PATH;?>index.php?m=member&c=index&a=register&siteid=<?php echo $siteid;?>" target="_blank"><?php echo L('register');?></a>
<?php } ?>
</div>
</body>